<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <link href="/Show/Admin/Public/css/news.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="/Show/Admin/Public/ckeditor/ckeditor.js"></script>
    <title>添加用户</title>
  </head>
  <body>
    <form action="{$smarty.const.__SELF__}" method="post">
    <div class="mainbox">
          <div class="title">&nbsp;&nbsp;添加用户</div>
          <div class="tablebox">
            <table class="table" border="0">
              <tr>
                <td class="tdl">用户名<font color="red">*</font></td>
                <td class="tdr">
                    <input type="text" name="user_name">
                </td>
              </tr>
              <tr>
                <td class="tdl">密码<font color="red">*</font></td>
                <td class="tdr">
                    <input type="password" name="user_pwd">
                </td>
              </tr>
              <tr>
                <td class="tdl">再次输入密码<font color="red">*</font></td>
                <td class="tdr">
                    <input type="password" name="second">
                </td>
              </tr>
              <tr>
                <td class="tdl">电子邮箱</td>
                <td class="tdr">
                    <input type="text" name="infor_email">
                    可不填
                </td>
              </tr>
              <tr>
                <td class="tdl">联系电话</td>
                <td class="tdr">
                    <input type="text" name="infor_tel">
                </td>
              </tr>
              <tr>
                <td class="tdl">地址</td>
                <td class="tdr">
                    <input type="text" name="infor_address">
                    可不填
                </td>
              </tr>
              <tr>
                <td class="tdl">角色<font color="red">*</font></td>
                <td class="tdr">
                    <select name="user_role_id">
                        {section name=n loop=$info}
                        <option value="{$info[n].role_id}">{$info[n].role_name}</option>
                        {/section}
                    </select>
                </td>
              </tr>
              <tr>
                <td class="tdl">会员状态</td>
                <td class="tdr">
                    <select name="user_state">
                        <option value="0">待审核</option>
                        <option value="1">正常</option>
                    </select>
                </td>
              </tr>
              <tr>
                <td class="tdr sub">
                  <input type="submit" name="sub" value="确定">
                  <input id="reset" type="reset"  value="重置">
                </td>
              </tr>
            </table>
          </div>
    </div>
    </form>
  </body>
</html>